{% load staticfiles %}
<div class="col-md-3 left_col">
      <div class="left_col scroll-view">
        <div class="navbar nav_title" style="border: 0;">
          <a href="#" class="site_title"><i class="fa fa-paw"></i> <span>运营管理中心</span></a>
        </div>
        <div class="clearfix"></div>
        <br />

        <!-- sidebar menu -->
        <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
        	{% if request.session.usertype == 1 %}
	          <div class="menu_section">
	            <h3>管理中心</h3>
	            <ul class="nav side-menu">
	              <li><a><i class="fa fa-home"></i> 用户管理 <span class="fa fa-chevron-down"></span></a>
	                <ul class="nav child_menu">
	                  <li><a href="{% url 'list_all_users' user_type=0 %}"> 未审核用户 </a></li>
	                  <li><a href="{% url 'list_all_users' user_type=1 %}"> 审核通过用户 </a></li>
	                  <li><a href="{% url 'list_all_users' user_type=2 %}"> 审核未通过用户 </a></li>
	                </ul>
	              </li>
	              <li><a><i class="fa fa-edit"></i> 计费管理 <span class="fa fa-chevron-down"></span></a>
	                <ul class="nav child_menu">
	                  <li><a href="{% url 'consumption_list'  %}"> 消费记录 </a></li>
	                  <li><a href="{% url 'charge_list'  %}"> 充值记录 </a></li>
	                 <!--  <li><a href="{% url 'consumption_add'  %}"> 添加消费记录 </a></li> -->
	                </ul>
	              </li>
	              <li><a><i class="fa fa-desktop"></i> 价格管理 <span class="fa fa-chevron-down"></span></a>
	                <ul class="nav child_menu">
	                  <li><a href="{% url 'price_add' %}">添加计费项</a></li>
	                  <li><a href="{% url 'price_list' %}">价格列表</a></li>
	                  <li><a href="{% url 'price_history' %}">历史价格</a></li>
	                </ul>
	              </li>
	            </ul>
	          </div>
	         {% else %}
		          <div class="menu_section">
		            <h3>用户中心</h3>
		            <ul class="nav side-menu">
		              <li><a><i class="fa fa-windows"></i> 个人中心 <span class="fa fa-chevron-down"></span></a>
		                <ul class="nav child_menu">
		                 <!--  <li><a href="{% url 'profile' %}"> 个人信息 </a></li> -->
		                  <li><a href="{% url 'personal_account_info' %}"> 账户信息 </a></li>
		                  <li><a href="{% url 'charge_add' %}"> 充值 </a></li>
		                  <!-- <li><a href="{% url 'profile' %}"> 系统设置 </a></li> -->
		                </ul>
		              </li>
		            </ul>
		          </div>
			 {% endif %}
        </div>
        <!-- /sidebar menu -->

        <!-- /menu footer buttons -->
        <div class="sidebar-footer hidden-small">
        <!--     <a data-toggle="tooltip" data-placement="top" title="Settings">
            <span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
          </a>
          <a data-toggle="tooltip" data-placement="top" title="FullScreen">
            <span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
          </a>
          <a data-toggle="tooltip" data-placement="top" title="Lock">
            <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
          </a>
        <a data-toggle="tooltip" data-placement="top" title="Logout" href="login.html">
            <span class="glyphicon glyphicon-off" aria-hidden="true"></span>
          </a> -->
        </div>
        <!-- /menu footer buttons -->
      </div>
    </div>
		